package com.dky.satell.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dky.satell.entity.LocalTask;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Entity LocalTask
 */
@Repository
public interface LocalTaskMapper extends BaseMapper<LocalTask> {

    List<LocalTask> queryFileTasks(@Param("type") String type);

    int updateStatus(@Param("id") Long id, @Param("status") Byte status);

    int updateStatusAndTimes(@Param("id") Long id, @Param("status") Byte status);
}




